<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_imagebar.ascx.cs" Inherits="Controls_Main_ctrl_imagebar" %>

<asp:PlaceHolder runat="server" ID="imgBar">
	<div class="imgBar">
		<asp:PlaceHolder runat="server" ID="plcImages">
			<%--<asp:PlaceHolder runat="server" ID="plcLinkLeft">
				<asp:LinkButton runat="server" ID="btnLastImageList" 
					CssClass="listSquareThumbnail imageBarLinkLeft" Text="&nbsp;" 
					OnClick="btnLastImageList_Click" />
			</asp:PlaceHolder>--%>
			
			<asp:UpdatePanel runat="server" ID="updPanelRdn" UpdateMode="Conditional">
				<Triggers>
					<%--<asp:AsyncPostBackTrigger ControlID="btnLastImageList" EventName="Click" />--%>
					<asp:AsyncPostBackTrigger ControlID="btnNewImageList" EventName="Click" />
				</Triggers>
				<ContentTemplate>
					<asp:HiddenField runat="server" ID="counter" />
					<asp:PlaceHolder runat="server" ID="pImg" />
				</ContentTemplate>
			</asp:UpdatePanel>
			
			<asp:PlaceHolder runat="server" ID="plcLinkRight">
				<asp:LinkButton runat="server" ID="btnNewImageList" 
					CssClass="listSquareThumbnail imageBarLinkRight" Text="&nbsp;" 
					OnClick="btnNewImageList_Click" />
			</asp:PlaceHolder>
		</asp:PlaceHolder>
	</div>
</asp:PlaceHolder>
